package com.example.demo.dao;

import com.example.demo.modal.Pattern;
import java.util.List;

public interface PatternMapper {
    int deleteByPrimaryKey(Integer rpId);

    int insert(Pattern record);

    List<Pattern> selectByPrimaryKey(Integer rpId);

    int selectMaxId();

    List<Pattern> selectAll();

    int updateByPrimaryKey(Pattern record);

    List<Pattern> selectByRpName(String rpName);

    List<Pattern> selectByRpRequir(String rpRequir);

    List<Pattern> selectByRpConclu(String rpConclu);

    List<Pattern> selectByRpRelationship(String rpRelationship);

    List<Pattern> selectByRpConditions(String rpConditions);
}